package com.eastfair.auth.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.eastfair.auth.enumeration.OrganizationOrgTypeEnum;
import com.eastfair.auth.enumeration.ResourceOrganizationResourceTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 实体类
 * 华为账号对接实体
 * </p>
 *
 * @author ligang
 * @since 2022-07-12
 */
@Data
public class HuaWeiOrganizationDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "随机ID")
    private String iamRequestId;

    /**
     * 授权账号
     */
    @ApiModelProperty(value = "授权账号")
    private String iamRemoteUser;
    /**
     * 接口的密码
     */
    @ApiModelProperty(value = "接口的密码")
    private String iamRemotePwd;


    @ApiModelProperty(value = "主键id")
    private String orgId;

    @ApiModelProperty(value = "华为主键id")
    private String huaweiOrgId;
    /**
     * 组织名称
     */
    @ApiModelProperty(value = "组织名称")
    private String name;

    @Excel(name = "父级id")
    private String parentId;
    /**
     * 组织id(查看)
     */
    @ApiModelProperty(value = "状态 1有效 0无效")
    private Integer status;

    /**
     * 角色id
     */
    private Long roleId;

    private Date updateTime;
}
